<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>4.7 三位数</title>
</head>

<body>
    <script>
        for (var i = 100; i < 1000; i++) {
            if (i % 4 == 2 && i%7 == 3 && i%9 == 5){
                document.write(i);
                document.write('<br>');
                // console.log(i);
            }
        }
    </script>
</body>

</html>